console.time();
var num1 = 0;
for (var j = 0; j < 100000000; j++) {
  num1 += j;
}
console.log(num1);
postMessage(num1);// 把num2的值发送到webworker.html页面里去；
console.timeEnd();